package com.newtouch.bxzs.business.statistics.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 业绩保单明细BO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/20</td>
 * <td>tiansangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tiansangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("业绩保单详细BO")
public class AchievementPolicyDetailBO implements Serializable {
    /**serialVersionUID*/
    private static final long serialVersionUID = 3974048975299926234L;

    @ApiModelProperty(value = "用户工号")
    private String userJobNumber;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "公司名称")
    private String cooperationCompanyOrganizationName;

    @ApiModelProperty(value = "对端用户工号")
    private String cooperationCompanyUserJobNumber;

    @ApiModelProperty(value = "对端用户姓名")
    private String cooperationCompanyUserName;

    @ApiModelProperty(value = "保单号")
    private String policyNumber;

    @ApiModelProperty(value = "产品代码")
    private String mainInsuranceCode;

    @ApiModelProperty(value = "产品名称")
    private String mainInsuranceName;

    @ApiModelProperty(value = "个人业绩")
    private BigDecimal achievementPersonal;

    @ApiModelProperty(value = "投保人姓名")
    private String policyHolderName;

    @ApiModelProperty(value = "被保人姓名")
    private String insurederName;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "投保日期")
    private Date policyApplicationDate;

    @ApiModelProperty(value = "承保日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date policyAcceptInsuranceDate;

    @ApiModelProperty(value = "生效日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date policyEfficientDate;

    @ApiModelProperty(value = "规模保费")
    private BigDecimal scalePremium;

    @ApiModelProperty(value = "标准保费")
    private BigDecimal standardPremium;
}
